class StringUtils {
    /** 前填充 */
    public static frontFill(obj: any, str: string, defin: string = '') {
        return obj ? (str + obj) : defin
    }

    /** 后填充 */
    public static postFill(obj: any, str: string, defin: string = '') {
        return obj ? (obj + str) : defin
    }
}

export = StringUtils;